package com.cloud.dict.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 字典组
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("dictionary_group")
public class DictionaryGroup extends Model<DictionaryGroup> {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID,自增
     */
    @TableId(value="id",type = IdType.AUTO)
    private Long id;

    /**
     * 字典分组名
     */
    @TableField("group_name")
    private String groupName;
    /**
     * 字典分组值
     */
    @TableId("group_value")
    private String groupValue;

    /**
     * 字典分组说明
     */
    @TableField("group_description")
    private String groupDescription;

    /**
     * 是否启用 1启用 0禁用
     */
    @TableField("active")
    private Integer active;


}
